<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.2//EN" "http://struts.apache.org/dtds/struts-config_1_2.dtd">
<struts-config>
	<data-sources>
	</data-sources>
	<form-beans>
#for f in class.attributes.forms
		<form-bean name="${.f}Form" type="${class.attributes.formClasses[.index]}"></form-bean>
#end
	</form-beans>
	<global-exceptions>
	</global-exceptions>
	<global-forwards>
	</global-forwards>
	<action-mappings>
#for a in class.attributes.actions
		<action path="/action/${.a}s" type="org.springframework.web.struts.DelegatingActionProxy" name="${.a}Form" attribute="${.a}Form" parameter="fun" scope="request">
			<!-- <forward name="forwardName" path="/url"></forward> -->
		</action>
#end
	</action-mappings>
	<message-resources parameter="MessageResources" />
	<plug-in className="org.springframework.web.struts.ContextLoaderPlugIn">
		<set-property property="contextConfigLocation" value="classpath:applicationContext-dao.xml classpath:applicationContext-hibernate.xml classpath:applicationContext-resouse.xml classpath:applicationContext-struts.xml" />
	</plug-in>
</struts-config>
